Skip to content

Instantly share code, notes, and snippets.

@Tehnix
Tehnix / Linear Widget.js
Last active September 24, 2026 16:25
Linear iOS/macOS widget using Scriptable
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: teal; icon-glyph: magic;
const LINEAR_API_KEY = "lin_api_....";
const WIDGET_SIZE = config.widgetFamily; // "small" | "medium" | "large"
const VIEW_ID = "....-....-....-...-....."; // Your Linear view ID.
const TEAM_ID = "LTI"; // Your Linear team ID.
const DEFAULT_ASSIGNEE = "displayName"; // Your Linear display name.
const DEFAULT_PROJECT = "....-....-....-...-....."; // The default project to create issues in.
const DEFAULT_STATUS = "Backlog"; // The default status to create issues with.
@BitwiseAndrea
BitwiseAndrea / Example.luau
Last active September 24, 2026 16:25
Programmatically created style rules for Roblox, made easy!
--!strict
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local CollectionService = game:GetService("CollectionService")
local Players = game:GetService("Players")
local LuauCSS = require(ReplicatedStorage:WaitForChild("LuauCSS"))
--------------------------------------------------------------------------------
-- STEP 1: INITIALIZE THE UI CONTAINER & THE STYLESHEET
--------------------------------------------------------------------------------
@daemonhorn
daemonhorn / FreeBSD Arm64 Qemu.md
Last active September 24, 2026 16:23
FreeBSD Qemu arm64/riscv64/amd64 from ports

Intro

This Quickstart receipe for Qemu assumes a recent FreeBSD release (stable/13 or newer), and provides an example configuration for running arm64 (aarch64) FreeBSD guest on an amd64 FreeBSD Host. Concepts can be applied to other architectures as desired, but syntax and capabilities will vary.

Dependancies

  • Install qemu pkg install qemu or pkg instal qemu-nox11. Latest pre-built package release as of this writeup is 8.1.0
  • Sufficient disk space (50+GB) on a mounted FreeBSD Host disk (e.g.: /qemu-data in this example)

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@iamtimmy
iamtimmy / set_explorer.reg
Created March 1, 2025 17:03
registry files to set and unset filepilot as the default file manager.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Drive\shell]
@="none"
[-HKEY_CLASSES_ROOT\Drive\shell\open]
[HKEY_CLASSES_ROOT\Directory]
@="File Folder"
@jwoglom
jwoglom / data.py
Created October 13, 2020 02:35
Download Perusall readings as PDF
title = "The title of the article"
urls="""
<image URLs scraped from the page>
"""

Building a Todo Application with Bob

Overview

In this lab, you'll learn to use Bob's AI-powered features to build a complete full-stack todo application from scratch. You'll experience Bob's different modes, auto-approvals, and Git and GitHub integration.

Duration: 45 minutes Difficulty: Beginner to Intermediate

What You'll Build

@Tosainu
Tosainu / cute_AA.txt
Last active September 24, 2026 16:14
顔文字詰め合わせ
あせ (・_・;) 顔文字
あせ (・∀・;) 顔文字
あせ (^ω^;;) 顔文字
あせ (゚∀゚ ;) 顔文字
あせ (゚∀゚ ;)タラー 顔文字
あたふた ヽ(´・ω・`ヽ) 顔文字
あつい (。>﹏<) 顔文字
あつい (。>﹏<)あㄘ”ゅい 顔文字
あつい (>﹏<。Ξ。>﹏<) 顔文字
あつい ι(´Д`υ) 顔文字
@nohwnd
nohwnd / Invoke-WithContext.ps1
Last active September 24, 2026 16:11
Invoking scriptblocks with context
# InvokeWith context is useful when we have something like
# ```
# $num = 1
# 1,2,3 | Assert-All -filter { $num -eq $_ }
# ```
# Where Assert-All is defined in a module where we invoke the filter script. The script needs to
# stay bounded to the original scope to keep $name resolvable, but we also need to push the
# $_ variable into the script block when invoking it.
@pojntfx
pojntfx / README.md
Last active September 24, 2026 16:10
Forward multiple Wayland applications via a single `waypipe` connection

Extra QEMU arguments to enable headless virgl/hardware accelerated rendering:

-device vhost-vsock-pci,guest-cid=3 -display egl-headless,gl=on

On client:

rm -f /tmp/socket-local; waypipe -s /tmp/socket-local client # TCP